-
-
Couldn't load subscription status.
- Fork 8.6k
[java][BiDi] implement browsingContext.downloadEnd event
#16347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 8b155ab
Previous suggestions✅ Suggestions up to commit 173391f
|
|||||||||||||||||||||||||||||
java/src/org/openqa/selenium/bidi/browsingcontext/DownloadEnded.java
Outdated
Show resolved
Hide resolved
…d.java Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggested minor changes.
java/src/org/openqa/selenium/bidi/browsingcontext/DownloadCanceled.java
Outdated
Show resolved
Hide resolved
java/src/org/openqa/selenium/bidi/browsingcontext/DownloadCompleted.java
Outdated
Show resolved
Hide resolved
java/src/org/openqa/selenium/bidi/browsingcontext/DownloadEnded.java
Outdated
Show resolved
Hide resolved
|
Ruby failure is unrelated to my PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor modification requested.
java/src/org/openqa/selenium/bidi/module/BrowsingContextInspector.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
I have run the CI twice but these tests fail which are unrelated to my changes: |
|
@Delta456 They are failing because ChromeDriver 142 is not available, I think. |
User description
🔗 Related Issues
💥 What does this PR do?
Implements
browsingContext.downloadEndevent according to spec https://w3c.github.io/webdriver-bidi/#event-browsingContext-downloadEnd for Java binding.ONLY supported for Chrome atm.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Implement
browsingContext.downloadEndevent for Java BiDi bindingAdd support for download completion and cancellation states
Create new classes for handling download end scenarios
Update test to verify download end event functionality
Diagram Walkthrough
File Walkthrough
DownloadCanceled.java
Add DownloadCanceled class for canceled downloadsjava/src/org/openqa/selenium/bidi/browsingcontext/DownloadCanceled.java
DownloadCompleted.java
Add DownloadCompleted class for successful downloadsjava/src/org/openqa/selenium/bidi/browsingcontext/DownloadCompleted.java
DownloadEnded.java
Add DownloadEnded wrapper for download end eventsjava/src/org/openqa/selenium/bidi/browsingcontext/DownloadEnded.java
BrowsingContextInspector.java
Add download end event support to inspectorjava/src/org/openqa/selenium/bidi/module/BrowsingContextInspector.java
BrowsingContextInspectorTest.java
Update test for download end eventjava/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java